#include "sym.h"
int NUM = 0;
bool setNum(std::string s) {
    if(!isdigit(s[0])) {return false;}
    NUM = 0;
    for(int i = 0;i < s.size();++i) {
        NUM = NUM * 10 + s[i] - '0';
    }
    SYM = SYMS::NUMBER;
    return true;
}